package cn.jeefast.common.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 研究阶段
 * </p>
 *
 * @author theodo
 * @since 2019-12-30
 */
@TableName("mb_research_step")
public class MbResearchStep extends Model<MbResearchStep> {

    private static final long serialVersionUID = 1L;

	@TableId(value="step_id", type= IdType.AUTO)
	private Long stepId;
    /**
     * 阶段名
     */
	@TableField("step_name")
	private String stepName;
    /**
     * 描述
     */
	@TableField("step_remark")
	private String stepRemark;
    /**
     * 起始时间
     */
	@TableField("step_start_time")
	private Date stepStartTime;
    /**
     * 截止时间
     */
	@TableField("step_end_time")
	private Date stepEndTime;
    /**
     * 数据模板ID
     */
	@TableField("temp_id")
	private Long tempId;
    /**
     * 研究组ID
     */
	@TableField("res_id")
	private Long resId;

	/**
	 * Lable
	 */
	private String lable;

	private Integer mark1;
	private Integer mark2;

	@TableField(exist = false)
	private String tempName;

	public Long getStepId() {
		return stepId;
	}

	public void setStepId(Long stepId) {
		this.stepId = stepId;
	}

	public String getStepName() {
		return stepName;
	}

	public void setStepName(String stepName) {
		this.stepName = stepName;
	}

	public String getStepRemark() {
		return stepRemark;
	}

	public void setStepRemark(String stepRemark) {
		this.stepRemark = stepRemark;
	}

	public Date getStepStartTime() {
		return stepStartTime;
	}

	public void setStepStartTime(Date stepStartTime) {
		this.stepStartTime = stepStartTime;
	}

	public Date getStepEndTime() {
		return stepEndTime;
	}

	public void setStepEndTime(Date stepEndTime) {
		this.stepEndTime = stepEndTime;
	}

	public Long getTempId() {
		return tempId;
	}

	public void setTempId(Long tempId) {
		this.tempId = tempId;
	}

	public Long getResId() {
		return resId;
	}

	public void setResId(Long resId) {
		this.resId = resId;
	}


	public String getLable() {
		return lable;
	}

	public void setLable(String lable) {
		this.lable = lable;
	}

	public Integer getMark1() {
		return mark1;
	}

	public void setMark1(Integer mark1) {
		this.mark1 = mark1;
	}

	public Integer getMark2() {
		return mark2;
	}

	public void setMark2(Integer mark2) {
		this.mark2 = mark2;
	}

	public String getTempName() {
		return tempName;
	}

	public void setTempName(String tempName) {
		this.tempName = tempName;
	}

	@Override
	protected Serializable pkVal() {
		return this.stepId;
	}

	@Override
	public String toString() {
		return "MbResearchStep{" +
			", stepId=" + stepId +
			", stepName=" + stepName +
			", stepRemark=" + stepRemark +
			", stepStartTime=" + stepStartTime +
			", stepEndTime=" + stepEndTime +
			", tempId=" + tempId +
			", resId=" + resId +
			"}";
	}
}
